<!DOCTYPE html>

<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles-extras" prefix="tilesx" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>

<html>

  <head>
    <title><spring:message code="product.title" /></title>
    <link href="pages/style/general.css" rel="stylesheet" type="text/css"/>
	<link href="pages/style/titleBar.css" rel="stylesheet" type="text/css"/>
	<link href="pages/style/tabBar.css" rel="stylesheet" type="text/css"/>
	<link href="pages/jquery/jquery.ui.all.css" rel="stylesheet" type="text/css"/>
	<script type="text/javascript" src="pages/jquery/jquery-1.11.0.min.js"></script>
    <script type="text/javascript" src="pages/jquery/jquery-ui.min.js"></script>
	<script type="text/javascript" src="pages/jquery/jquery.form.js"></script>
	<script type="text/javascript" src="pages/jquery/jquery.ui.core.js"></script>
	<script type="text/javascript" src="pages/javascript/button.js"></script>
	<script type="text/javascript" src="pages/javascript/clock.js"></script>
	<script type="text/javascript" src="pages/javascript/navigation.js"></script>
	<script type="text/javascript" src="pages/javascript/general.js"></script>
  </head>

  <script type="text/javascript">
    var hovering = false;
    $(document).ready(function(){
      calculateCurrentDate();
	  bindTabBarFunctions();
	});
  </script>

  <tiles:insertAttribute name="bodyHeader"/>
  <tiles:insertAttribute name="title"/>
  <tiles:insertAttribute name="tabBar"/>
  <tilesx:useAttribute name="portal_name" scope="request"/>

  <div id="overall" style="width:100%;position:absolute;top:65px;" align="center">
    <div style="width:98%;background-color:white;margin-left:auto;margin-right:auto;">
      <c:set var="portalName" value="${portal_name}" scope="request"/>
      <jsp:include page="/pages/jsp/tiles/general/portalHeaderRed.jsp"/>
      <tiles:insertAttribute name="content"/>
      <jsp:include page="/pages/jsp/tiles/general/portalFooter.jsp"/>
    </div>
  </div>
</html>